package com.cdyx.demomp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 加入@MapperScan("com.cdyx.demomp.mapper")
 * 是因为mapper中定义都是接口，对象是动态生成的，会找不到对象，加入@MapperScan才能找到对象
 */
@SpringBootApplication
public class DemompApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemompApplication.class, args);
    }

}
